package com.business.bean.basic;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "BAS_INTER_COMPANY", description = "来往企业信息表")
public class InterCompanyBean extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "企业编号", canNull = false, size = 32, policy = "UUID")
	private String companyID = null;

	/** 1：供应商，2：客户 */
	@Column(type = Type.数字整型, description = "关系分类")
	private int relationType = 0;

	@Column(type = Type.变长文本, description = "企业名称", size = 100)
	private String companyName = null;

	@Column(type = Type.数字整型, description = "企业分类")
	private int companyType = 0;

	@Column(type = Type.变长文本, description = "纳税人识别号", size = 100)
	private String taxpayerIdentity = null;

	@Column(type = Type.变长文本, description = "公司地址", size = 250)
	private String address = null;

	@Column(type = Type.变长文本, description = "联系电话", size = 20)
	private String tel = null;

	@Column(type = Type.变长文本, description = "传真", size = 20)
	private String fax = null;

	@Column(type = Type.变长文本, description = "法人代表", size = 50)
	private String legalRepresentative = null;

	@Column(type = Type.变长文本, description = "企业联系人", size = 50)
	private String contactName = null;

	@Column(type = Type.变长文本, description = "开户银行", size = 200)
	private String bankName = null;

	@Column(type = Type.变长文本, description = "银行帐号", size = 100)
	private String bankAccount = null;

	@Column(type = Type.变长文本, description = "说明", size = 250)
	private String description = null;

	/** 1：启用；2：停用 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;

}
